﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace NorthwindSample.Data
{
    public partial class Employee
    {
        public void Copy(Employee src)
        {
            this.LastName = src.LastName;
            this.FirstName = src.FirstName;
            this.Title = src.Title;
            this.TitleOfCourtesy = src.TitleOfCourtesy;
            this.BirthDate = src.BirthDate;
            this.HireDate = src.HireDate;
            this.Address = src.Address;
            this.City = src.City;
            this.Region = src.Region;
            this.PostalCode = src.PostalCode;
            this.Country = src.Country;
            this.HomePhone = src.HomePhone;
            this.Extension = src.Extension;
            this.ReportsTo = src.ReportsTo;
        }
    }

    public partial class Shipper
    {
        public void Copy(Shipper src)
        {
            this.CompanyName = src.CompanyName;
            this.Phone = src.Phone;
        }
    }
}
